import {CascaderEmits, CascaderProps} from "element-plus"
import {FormRender} from "../../../index.ts"
import {ElCascaderCustomerEvents, ElCascaderCustomerExtend, ElCascaderCustomerProps} from "./index.ts"

type ElCascaderProps = ElCascaderCustomerProps & CascaderProps

type ElCascaderEvents = ElCascaderCustomerEvents & CascaderEmits

type ElCascaderExtend = ElCascaderCustomerExtend

export type ElCascader<Prop> = FormRender<'el-cascader', Prop, ElCascaderProps, ElCascaderEvents> & ElCascaderExtend